import { Boolean, Code, CreateDate, PrimaryUuid, Title } from "../utils";
import { Entity } from "typeorm";

@Entity({
    name: 'fj_ota_account'
})
export class FjOtaAccount {
    @PrimaryUuid()
    id: string;

    @Title({ unique: true })
    name: string;

    @Title()
    name_cn: string;

    @Code()
    password: string;

    @Code()
    salt: string;

    @Boolean()
    status: boolean;

    @CreateDate()
    create_date: Date;
}